<clickhouse>
    <dictionary>
        <name>radars</name>
        <source>
            <clickhouse>
                <host>localhost</host>
                <port>9000</port>
                <user>default</user>
                <password></password>
                <db>default</db>
                <table>radars_table</table>
            </clickhouse>
        </source>
        <structure>
            <key>
                <attribute>
                    <name>radar_id</name>
                    <type>String</type>
                    <hierarchical>False</hierarchical>
                    <injective>False</injective>
                </attribute>
            </key>
            <attribute>
                <name>radar_ip</name>
                <type>String</type>
                <null_value></null_value>
                <hierarchical>False</hierarchical>
                <injective>True</injective>
            </attribute>
            <attribute>
                <name>client_id</name>
                <type>String</type>
                <null_value></null_value>
                <hierarchical>False</hierarchical>
                <injective>True</injective>
            </attribute>
        </structure>
        <layout>
            <complex_key_ssd_cache>
                <block_size>4096</block_size>
                <file_size>16777216</file_size>
                <read_buffer_size>131072</read_buffer_size>
                <write_buffer_size>1048576</write_buffer_size>
		        <path>/tmp/dictionaries/radars</path>
                <!-- TODO: use correct path after tmpfs without O_DIRECT can be used in CI -->
		        <!-- <path>/var/lib/clickhouse/dictionaries/radars</path> -->
            </complex_key_ssd_cache>
        </layout>
        <lifetime>1</lifetime>
    </dictionary>
</clickhouse>
